obj-m := hello.o hello_new.o zkc_leds.o
#KERNEL :=/usr/src/kernels/$(uname -r)/  
#KERNEL :=/lib/modules/kernel/$(uname -r)/ 
#KERNEL := /lib/modules/5.4.0-86-generic/build
KERNEL := /home/zkc/doc/kernel
PWD :=$(shell pwd)  
#build: modules
modules :  
#	make -C $(KERNEL) M=/home/zkc/doc/ classko 
	$(MAKE) -C $(KERNEL) M=$(PWD) modules  
	gcc ./opr/operation.c -o app
#	make -C $(KERNEL) M=$(PWD) modules 

.PHONEY:clean  
clean :  
	rm -f *.o *.ko .hello.ko.cmd .hello.o.cmd .hello.mod.cmd .hello.mod.o.cmd \
	hello.mod hello.mod.c modules.order   Module.symvers